﻿<%@ Page Title="" Language="C#" MasterPageFile="~/student/student.Master" AutoEventWireup="true" CodeBehind="课表查询.aspx.cs" Inherits="WebApplication2.student.课程查询" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <asp:DataList ID="DataList1" runat="server" width="100%" OnItemCommand="DataList1_ItemCommand" OnItemDataBound="DataList1_ItemDataBound">
            <HeaderTemplate>
                <table border="1" width="100%">
                    <tr>
                    <td width="15%">课程代码</td>
                    <td width="15%">课程名称</td>
                    <td width="15%">老师代码</td>
                    <td width="15%">老师名称</td>
                    <td width="20%">学分</td>
                    <td width="20%">地点</td>
                </tr>
                </table>
            </HeaderTemplate>
        <ItemTemplate>
            <table border="1" width="100%">
            <tr>
                <td width="15%"><asp:Label ID="lbl_kcdm" runat="server" Text='<%#Eval("kcdm") %>'></asp:Label></td>
                <td width="15%"><asp:Label ID="lbl_kcmc" runat="server" Text='<%#Eval("kcmc") %>'></asp:Label></td>
                <td width="15%"><asp:Label ID="lbl_lsdm" runat="server" Text='<%#Eval("dm") %>'></asp:Label></td>
                <td width="15%"><asp:Label ID="lbl_lsmc" runat="server" Text='<%#Eval("xm") %>'></asp:Label></td>
                <td width="20%"><asp:Label ID="lbl_xf" runat="server" Text='<%#Eval("xf") %>'></asp:Label></td>
                <td width="20%"><asp:Label ID="lbl_dd" runat="server" Text='<%#Eval("dd") %>'></asp:Label></td>
            </tr>
        </table>
        </ItemTemplate>
    </asp:DataList>
</asp:Content>
